package com.ssy.lingxi.system.dto.response;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
* 中台用户列表查询返回实体类
* @author wrc
* @date 2020/5/20
*/
public class MiddlegroundUserResponse {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "用户名字")
    private String name;

    @ApiModelProperty(value = "状态：1.有效 2.无效")
    private Integer state;

    @ApiModelProperty(value = "电话号码")
    private String tel;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;


    @ApiModelProperty(value = "所属角色")
    private List<String> roleNames;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public List<String> getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(List<String> roleNames) {
        this.roleNames = roleNames;
    }

    public MiddlegroundUserResponse() {
    }

    public MiddlegroundUserResponse(Long id, String account, String name, Integer state, String tel, Long updateTime, List<String> roleName) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.state = state;
        this.tel = tel;
        this.updateTime = updateTime;
        this.roleNames = roleName;
    }
}
